package cn.stylefeng.guns.sys.modular.system.entity;

import java.math.BigDecimal;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 * @author liuy
 * @since 2021-12-31
 */
@Data
@TableName("bty_dywh")
public class BtyDywh implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 日期
     */
    @ExcelProperty(index = 0)
    @TableField("yyr")
    private String yyr;

    /**
     * 店名
     */
    @ExcelProperty(index = 5)
    @TableField("dm")
    private String dm;
    /**
     * 抖音店名
     */
    @ExcelProperty(index = 1)
    @TableField(exist = false)
    private  String dydm;
    /**
     * 营业额
     */
    @ExcelProperty(index = 2)
    @TableField("yye")
    private BigDecimal yye;

    /**
     * 手续费
     */
    @ExcelProperty(index = 3)
    @TableField("sxf")
    private BigDecimal sxf;

    /**
     * 到账金额
     */
    @ExcelProperty(index = 4)
    @TableField("dzje")
    private BigDecimal dzje;

    /**
     * 标志1区域 2 全国 3 团购
     */
    @ExcelProperty(index = 6)
    @TableField("state")
    private Integer state;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 0失败 1成功
     */
    @TableField("flag")
    private Integer flag;

}
